package com.so206.mapper;

import com.so206.po.SysRoleFunction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleFunctionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysRoleFunction record);

    int insertSelective(SysRoleFunction record);

    SysRoleFunction selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRoleFunction record);

    int updateByPrimaryKey(SysRoleFunction record);

    void deleteByRoleId(@Param("id") Long id);

    List<SysRoleFunction> selectByRoleId(@Param("id") Long id);

}